<!--
 * @Descripttion: 
 * @version: 
 * @Author: ybac
 * @Date: 2023-03-14 14:50:17
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2023-05-19 09:05:36
-->
<template>
  <div>
    <slot name="content"></slot>
  </div>
</template>
<script>
export default {
  data() {
    return {
      isFixed: false,
      offsetTop: 0,
      observer: '',
    }
  },
  props: {
    superiorMenu: {
      type: Array,
      default: []
    },
    currentMenu: {
      type: String,
      default: ''
    },
    marginBottom: {
      type: [String, Number],
      default: '0'
    },
  },
  methods: {
    //点击返回按钮
    goBack() {
      this.$emit('goBack')
    },
  },
}
</script>
<style scoped lang="less">
@import '~@/assets/less/public.less';
.pub-header {
  margin: -12px -12px 0;
  // padding: @distance1;
  background: #fff;
}
.backBox {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  .backC {
    cursor: pointer;
    display: flex;
    align-items: center;
  }
}
</style>
